package com.ssps.entity;

public class Parking {
    private Integer pid;

    private Integer uiid;

    private String pnumber;

    private String status;
    private UserInfo ownInfo;
    /**
     * 平均评分
     */
    private Double avgScore;
    /**
     * 该车位是否被当前登录用户点赞过
     */
    private Boolean hasLike;

    public Boolean getHasLike() {
        return hasLike;
    }

    public void setHasLike(Boolean hasLike) {
        this.hasLike = hasLike;
    }

    public Double getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(Double avgScore) {
        this.avgScore = avgScore;
    }



    private  Comment comment;

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public UserInfo getOwnInfo() {
        return ownInfo;
    }

    public void setOwnInfo(UserInfo ownInfo) {
        this.ownInfo = ownInfo;
    }


    private String img;

    private UserInfo userInfo;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getUiid() {
        return uiid;
    }

    public void setUiid(Integer uiid) {
        this.uiid = uiid;
    }

    public String getPnumber() {
        return pnumber;
    }

    public void setPnumber(String pnumber) {
        this.pnumber = pnumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "Parking{" +
                "pid=" + pid +
                ", uiid=" + uiid +
                ", pnumber='" + pnumber + '\'' +
                ", status='" + status + '\'' +
                ", ownInfo=" + ownInfo +
                ", comment=" + comment +
                ", img='" + img + '\'' +
                ", userInfo=" + userInfo +
                '}';
    }
}